package com.yhq.ojbackendserviceclient.service;


import com.yhq.ojbackendmodel.model.entity.QuestionSubmit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: oj-backend
 * @description: 判题服务类
 * @author: HenryYang
 * @create: 2023-08-23 17:08
 **/
@FeignClient(name = "oj-backend-judge-service",path = "/api/judge/inner")
public interface JudgeFeignClient {
    @PostMapping("/do")
    QuestionSubmit doJudge(@RequestParam("questionSubmitId") long questionSubmitId);
}
